package com.example.sdemo.infra.mapper;

import com.example.sdemo.domain.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;
import com.example.sdemo.domain.entity.Course;

import java.util.List;

@Mapper
public interface CourseMapper {

    Course selectCById(Integer id);
    Boolean insertC(Course course);
    Boolean deleteC(Integer id);
    Boolean updateC(Course course);

    List<Course> selectAll();
}
